package skeleton;



import hEdge.HEdge;
import processing.core.PVector;


public class SkeletonEvent implements Comparable{
double t;	
PVector p;
BiSector biSector;
HEdge edgeToSplit;
boolean concave;



public boolean isConcave() {
	return concave;
}
public void setConcave(boolean concave) {
	this.concave = concave;
}
public HEdge getEdgeToSplit() {
	return edgeToSplit;
}
public void setEdgeToSplit(HEdge edgeToSplit) {
	this.edgeToSplit = edgeToSplit;
}

public BiSector getBiSector() {
	return biSector;
}
public void setBiSector(BiSector biSector) {
	this.biSector = biSector;
}
public PVector getP() {
	return p;
}
public void setP(PVector p) {
	this.p = p;
}
public double getT() {
	return t;
}
public void setT(double t) {
	this.t = t;
}
public int compareTo(Object arg0) {
	double t=((SkeletonEvent)arg0).getT();
	return Double.compare(this.getT(), t);
	
}


}
